/*
 * @Author: your name
 * @Date: 2022-03-02 22:17:52
 * @LastEditTime: 2022-03-02 23:48:23
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \video\api\index.js
 */
import request from "../utils/request.js"

//店铺接口
export function getShopsDetail(params) {
    return request.request({
        url: '/api/shop/getShopsDetail',
        method: 'GET',
        header: {
            'Content-type': 'application/x-www-form-urlencoded',
        },
        params: params,
    });
}

//登录
export function getShopInfo(data) {
    return request.request({
        url: '/api/shop/getShopInfo',
        method: 'POST',
        header: {
            'Content-type': 'application/x-www-form-urlencoded',
        },
        data: data,
    });
}